package com.block.common.constant;

import lombok.Getter;

/**
 * 通用状态
 */
@Getter
public enum CommonStatusEnum {

    /**
     * 只包含
     * -1 deleted
     * 0 disable
     * 1 able
     */
    DELETED("-1", "已删除"),
    DISABLE("0", "禁用"),
    ABLE("1", "可用"),
    ;

    private String value;
    private String name;

    CommonStatusEnum(String value, String name){
        this.value = value;
        this.name = name;
    }

}
